package cn.edu.scnu.pay.mapper;

import cn.edu.scnu.entry.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface PayMapper {
    @Update("update users set role = 1 where username = #{username} ")
    void pay(User user);
}
